package com.bjpowernode.beans;
import com.bjpowernode.annotation.Hzj;
import com.bjpowernode.services.IA;
import com.bjpowernode.services.MyIAImpA;
import com.bjpowernode.services.MyIAImpB;


public class Stu {

    @Hzj(value = MyIAImpA.class)
    IA ia;

    //玩耍
    public void play() {
        ia.doing();
    }


    int id;
    int name;

    public Stu(int id, int name) {
        this.id = id;
        this.name = name;
    }

    public Stu() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getName() {
        return name;
    }

    public void setName(int name) {
        this.name = name;
    }
}
